import { Bk_Discipline } from 'src/discipline/bk_discipline.entity';
import { Column, Entity, OneToMany, PrimaryGeneratedColumn } from 'typeorm';

@Entity()
export class Bk_Junior_College {
    @PrimaryGeneratedColumn()
    id: number;

    @Column()
    college_name: string;

    @OneToMany(() => Bk_Discipline, discipline => discipline.junior_college)
    discipline: Bk_Discipline[]
}